package com.yunying.rispro.service;

import com.yunying.rispro.model.Doctor;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yunying.rispro.util.JsonResponseBody;
import com.yunying.rispro.vo.UserVo;
import org.apache.ibatis.annotations.Result;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 医生信息表 服务类
 * </p>
 *
 * @author yunying
 * @since 2022-04-21
 */
public interface IDoctorService extends IService<Doctor> {

    JsonResponseBody<?> login(UserVo userVo, HttpServletRequest req, HttpServletResponse resp);

    JsonResponseBody<?> logout(String token);

    Doctor checkToken(String token);

}
